class Square{
    constructor (length) {
        this.length =length;
    }

    get area() {
        return this.length + this.length;
    }

    set area( value) {
        this.area = value;

    }
}

let s = new Square(123); console.log(s.area)

